//
//  SDSubCell.m
//  SDNestedTablesExample
//
//  Created by Bindx on 3/24/14.
//
//

#import "SDSubCell.h"
#import "UIImageView+WebCache.h"
@implementation SDSubCell

- (id) initWithCoder:(NSCoder *)aDecoder
{
    if((self = [super initWithCoder:aDecoder]))
    {
        self.contentView.backgroundColor = UIColorWithRGB(237, 239, 241, 1.0);
        self.sub_uface.layer.cornerRadius = 5.0;
        self.sub_uface.clipsToBounds = YES;
    }
    return self;
}
-(void)setUface:(NSString *)uface
{
    _uface = [uface copy];
    [self.sub_uface setImageWithURL:[NSURL URLWithString:uface] placeholderImage:[UIImage imageNamed:@"default.png"] andType:1];
}

- (void) setupInterface
{
    [super setupInterface];
}

- (void) tapTransition
{
    [super tapTransition];
}

- (void)dealloc {
    [_sub_uface release];
    [super dealloc];
}
@end
